﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QCodeLib.FileConfig;

namespace TestQCode
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestIniHelper()
        {
            IniFileHelper target  = new IniFileHelper(@"C:\PM.ini");
            string expected = "630";
            target.IniWriteValue("Country Name","Country","630");
            string actual = target.IniReadValue("Country Name", "Country");
            Assert.AreEqual(expected, actual);
        }
        

    }
}
